package com.luhuiguo.cms.server.service;

import java.util.List;

public interface MapperService {

    <T> T map(Object source, Class<T> destinationClass);

    void map(Object source, Object destination);

    <T> T map(Object source, Class<T> destinationClass, String mapId);

    void map(Object source, Object destination, String mapId);

    <T> List<T> mapList(List<?> source, Class<T> destinationClass);

    <T> List<T> mapList(List<?> source, Class<T> destinationClass, String mapId);

}
